home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
comm
/
easyk110.zip
/
7171.INI
< prev
next >
Wrap
Text File
|
1988-06-29
|
9KB
|
194 lines
; 7171.INI
; Copyright (C) 1987
; by
; Scott Crumpton <NESCC@NERVM.BITNET>
; all rights reserved.
;
; Permission is hereby granted for the noncommercial use and distribution of
; this material provided that this and the above copyright notice remain
; intact and that no fees are charged. A further restriction is imposed on
; anyone who modifies this material in that they must include the following
; information in any modified copies: the date, their name, and a description
; of the modification.
;
; This material carries no warranties of any kind. You are advised that you use
; this material at your own risk.
;
; 12 Oct 87 Scott Crumpton Revised for MSKermit 2.29c (2.30)
; 04 Nov 87 Scott Crumpton Added Ctrl-[left/right], improved comments.
; 19 Nov 87 Scott Crumpton Added Alt-P to push to DOS.
; 27 Jan 88 Scott Crumpton Changes for 2.30.
; 06 Jun 88 Dick Elnicki Enhanced PC keyboard insert, home, delete, end
; & arrow keys added.
;
; Communications protocol and keyboard mapping for use with the NERDC 7171
; protocol converters emulating a VT100.
;
; The intent of this defination is to make the keyboard act as "normally"
; as possible. To accomplish this keys are redefined to do what they say.
; Also, to eliminate as much confusion as possible, the numeric pad is
; used only for cursor control and most of the kermit single key functions
; are disabled. This keyboard mapping was designed with the KB5151 style
; keyboard, other keyboards may give varying results. Refer to the comments
; below for information on the function of individual keys.
;
; Set communications control parameters:
;
clear
set terminal vt102
set local-echo off
set flow-control xon/xoff
set handshake none
set parity even
;
; Nullify all ASCII control keys that are not redefined later:
;
set key \1 {\{0}}
set key \2 {\{0}}
set key \3 {\{0}}
set key \4 {\{0}}
set key \5 {\{0}}
set key \6 {\{0}}
set key \7 {\{0}}
set key \8 {\{0}}
set key \11 {\{0}}
set key \12 {\{0}}
set key \14 {\{0}}
set key \15 {\{0}}
set key \16 {\{0}}
set key \17 {\{0}}
set key \18 {\{0}}
set key \19 {\{0}}
set key \20 {\{0}}
set key \21 {\{0}}
set key \22 {\{0}}
set key \23 {\{0}}
set key \24 {\{0}}
set key \25 {\{0}}
set key \26 {\{0}}
set key \28 {\{0}}
set key \30 {\{0}}
set key \31 {\{0}}
;
; Nullify possibly dangerous keys that are not redefined later:
;
set key \127 {\{0}} ; Ctrl-Backspace
set key \311 {\{0}} ; * on PrtSc
set key \335 {\{0}} ; End
set key \842 {\{0}} ; Shift-- (numeric pad)
set key \844 {\{0}} ; Shift-5 (numeric pad)
set key \846 {\{0}} ; Shift-+ (numeric pad)
set key \847 {\{0}} ; Shift-End
set key \854 {\{0}} ; Shift-F3
set key \855 {\{0}} ; Shift-F4
set key \856 {\{0}} ; Shift-F5
set key \857 {\{0}} ; Shift-F6
set key \858 {\{0}} ; Shift-F7
set key \859 {\{0}} ; Shift-F8
set key \1280 {\{0}} ; Ctrl-Break
set key \1283 {\{0}} ; Ctrl-@ (NUL)
set key \1394 {\{0}} ; Ctrl-PrtSc
set key \1398 {\{0}} ; Ctrl-PgDn
set key \1399 {\{0}} ; Ctrl-Home
set key \1412 {\{0}} ; Ctrl-PgUp
set key \1906 {\{0}} ; Ctrl-Shift-PrtSc
set key \1910 {\{0}} ; Ctrl-Shift-PgDn
set key \1911 {\{0}} ; Ctrl-Shift-Home
set key \1924 {\{0}} ; Ctrl-Shift-PgUp
set key \2335 {\{0}} ; Alt-S (\Kstatus)
set key \2349 {\{0}} ; Alt-X (\Kexit)
set key \2352 {\{0}} ; Alt-B (\Kbreak)
set key \2434 {\{0}} ; Alt -- (main kbd area)
set key \2435 {\{0}} ; Alt -+ (main kbd area)
;
; Nullify the following keys that showed up with release 2.30.
; Probably for the enhanced keyboard.
;
set key \4407 {\{0}} ;
set key \4423 {\{0}} ;
set key \4424 {\{0}} ;
set key \4425 {\{0}} ;
set key \4427 {\{0}} ;
set key \4429 {\{0}} ;
set key \4431 {\{0}} ;
set key \4432 {\{0}} ;
set key \4433 {\{0}} ;
set key \5494 {\{0}} ;
set key \5495 {\{0}} ;
set key \5508 {\{0}} ;
;
; Redefine the Kermit's escape chracter to the Khelp command. Both escape sets
; are needed: Ascii 002 on the 1st and 029 on the 2nd. Cannot have comments.
;
set escape
set key \29 \Khelp
set escape
;
; Assign kermit commands to some keys
;
set key \27 \Kexit ; ESC --> Exit
set key \2329 \Kdos ; Alt-P --> Push to DOS
;
; Define PA1, PA2, PA3, Clear, Redisplay:
;
set key \2408 {\{27}OS} ; Alt-F1 --> PA1
set key \2409 {\{27}Om} ; Alt-F2 --> PA2
set key \330 {\{27}Om} ; Keypad - --> PA2
set key \2410 {\{27}Ol} ; Alt-F3 --> PA3
set key \2413 {\{27}OM} ; Alt-F6 --> Clear
set key \334 {\{27}OM} ; Keypad + --> Clear
set key \2414 {\{22}} ; Alt-F7 --> Redisplay
set key \2415 {\{24}} ; Alt-F8 --> Purge THB
set key \2416 {\{6}} ; Alt-F9 --> Reset
set key \2417 {\{7}} ; Alt-F10 --> Master Reset
;
; Define Erase EOF, Insert, and Delete:
;
set key \1397 {\{27}\{127}} ; Ctrl-EOF --> Erase EOF
set key \5493 {\{27}\{127}} ; Ctrl-EOF Enh. KB --> Erase EOF
set key \1909 {\{27}\{127}} ; Ctrl-Shift-End --> Erase EOF
set key \338 {\{27}On} ; Insert Number Pad --> Insert
set key \4434 {\{27}On} ; Insert Enhanced KB --> Insert
set key \850 {\{27}On} ; Shift-Insert --> Insert
set key \339 {\{127}} ; Delete Number Pad --> Delete
set key \4435 {\{127}} ; Delete Enhanced KB --> Delete
set key \851 {\{127}} ; Shift-Delete --> Delete
;
; Define Tab field and Backtab field: ( -->| and |<-- )
;
set key \9 {\{9}} ; Tab --> Tab Field
set key \783 {\{27}\{9}} ; Shift-Tab --> Backtab Field
;
; Define Backspace with Delete (The PC key), Next Line, and Enter:
;
set key \270 {\{10}} ; Backspace --> Next Line
set key \782 {\{10}} ; Shift-Backspace --> Next Line
set key \13 {\{13}} ; Return --> Enter
set key \10 {\{13}} ; Shift-Return --> Enter
;
; Define cursor movement keys:
;
set key \327 {\{8}} ; Home Number Pad --> Home
set key \4423 {\{8}} ; Home Enhanced KB --> Home
set key \839 {\{8}} ; Shift-Home --> Home
set key \328 {\{27}OA} ; Up Number Pad --> Up
set key \4424 {\{27}OA} ; Up Enhanced KB --> Up
set key \840 {\{27}OA} ; Shift-Up --> Up
set key \336 {\{27}OB} ; Down Number Pad --> Down
set key \4432 {\{27}OB} ; Down Enchanced KB --> Down
set key \848 {\{27}OB} ; Shift-Down --> Down
set key \331 {\{27}OD} ; Left Number Pad --> Left
set key \4427 {\{27}OD} ; Left Enhanced KB